<!DOCTYPE html>
<html class="x-admin-sm">
<html lang="en" xmlns:th="http://wwww.thymeleaf.org" >
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.2</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="../aaa/css/font.css">
    <link rel="stylesheet" href="../aaa/css/xadmin.css">
    <script src="../aaa/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../aaa/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row">
        <form class="layui-form" method="get">
            <div class="layui-form-item">
                <input type="text" id="ordersId" name="ordersId" style="display: none" th:value="${pur.ordersId}">
                <label class="layui-form-label">
                    <span class="x-red">*</span>审核状态
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="statusid" name="statusid" th:value="${pur.statusl.statusname}" class="layui-input">
                </div>
                <label class="layui-form-label">
                    <span class="x-red">*</span>单据日期
                </label>
                <div class="layui-input-inline">
                    <input type="text" name="ordertime" class="layui-input" id="test1" placeholder="请选择日期" lay-key="1" th:value="${pur.ordertimeJs}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品名
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="commodityid" name="commodityid" th:value="${pur.commodity.commodityname}" class="layui-input">
                </div>
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品图片
                </label>
                <div class="layui-input-inline">
                    <img th:src="@{${pur.commodity.commodityimgstr}}" width="100px" height="100px">
                    <!--<input type="text" id="commodityimg" name="commodityimg" th:value="${pur.commodity.commodityimg}" class="layui-input">-->
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品单价
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="coprice" name="coprice" th:value="${pur.commodity.coprice}" class="layui-input">
                </div>
                <label class="layui-form-label">
                    <span class="x-red">*</span>商品数量
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="num" name="num" required="required" lay-verify="required"
                           autocomplete="off" class="layui-input" th:value="${pur.Samnumber}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>物流公司
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="logId" name="logId" th:value="${pur.logistics.logname}" class="layui-input">
                </div>
                <label class="layui-form-label">
                    <span class="x-red">*</span>到达地址
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="arrloc" name="arrloc" required="required" lay-verify="pass"
                           autocomplete="off" class="layui-input" th:value="${pur.arrloc}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>包装单价
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="Bsprice" name="Bsprice" required="required" lay-verify="pass"
                           autocomplete="off" class="layui-input" th:value="${pur.Bsupplier.Bsprice}">
                </div>
                <label class="layui-form-label">
                    <span class="x-red">*</span>包装公司地址
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="Bsuloc" name="Bsuloc" required="required" lay-verify="required"
                           autocomplete="off" class="layui-input" th:value="${pur.Bsupplier.Bsuloc}">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">
                    <span class="x-red">*</span>包装供应商
                </label>
                <div class="layui-input-inline">
                    <input type="text" id="BsupId" name="BsupId" th:value="${pur.Bsupplier.BsupName}" class="layui-input">
                </div>
                <label class="layui-form-label">
                    <span class="x-red">*</span>应付金额
                </label>
                <div class="layui-input-inline">
                    <input type="text" required="required" lay-verify="pass"
                           autocomplete="off" class="layui-input" th:value="${pur.advance}">
                </div>
            </div>
        </form>
    </div>
</div>
<script>
    layui.use(['laydate','form'], function(){
        var laydate = layui.laydate;
        var form = layui.form;
    });
</script>
<script>var _hmt = _hmt || []; (function() {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
})();</script>
</body>

</html>
